import globals, { node } from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginVue from "eslint-plugin-vue";
import { env } from "eslint-plugin-vue/lib/configs/base";


export default [
  env, {
    node: {
      ...node.env.node,
      browser: false,
    },
  },
  {languageOptions: { globals: globals.browser }},
  pluginJs.configs.recommended,
  ...tseslint.configs.recommended,
  ...pluginVue.configs["flat/essential"],
];